package com.liveneo.adapter.base.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.liveneo.adapter.base.entity.PrpmLossObject;
import com.liveneo.adapter.base.entity.PrpmLossObjectExample;
import com.liveneo.adapter.base.support.BaseMapper;

/**
 * 物损损失信息 映射器的接口
 * 依赖配置文件：PrpmLossObjectMapper.xml
 * 
 * @author fucy
 * @since 2016-06-05
 */
public interface PrpmLossObjectMapper extends BaseMapper<PrpmLossObject> {
    int countByExample(PrpmLossObjectExample example);

    int deleteByExample(PrpmLossObjectExample example);

    List<PrpmLossObject> selectByExample(PrpmLossObjectExample example);

    int updateByExampleSelective(@Param("record") PrpmLossObject record, @Param("example") PrpmLossObjectExample example);

    int updateByExample(@Param("record") PrpmLossObject record, @Param("example") PrpmLossObjectExample example);

    List<PrpmLossObject> selectByLossUuid(String lossUuid);

    List<PrpmLossObject> selectByCaseUuid(String caseUuid);

    List<PrpmLossObject> selectByCaseNo(String caseNo);

    PrpmLossObject getByLossUuid(String lossUuid);
}